package com.atguigu.gmall.search;

import com.atguigu.gmall.common.config.Knife4jConfiguration;
import com.atguigu.gmall.common.config.thread.annotation.EnableThreadPool;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.Import;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

/**
 * @author lhh
 * @ClassName SearchApplication
 * @date 2022 2022/12/12
 */
@Import({Knife4jConfiguration.class})
@EnableThreadPool
@EnableElasticsearchRepositories
@SpringCloudApplication
public class SearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(SearchApplication.class,args);
    }
}
